From: Jonathan Creekmore Date: Thu, 21 Jan 2016 15:06:10 +0000 (+0100) Subject: build: alloc space for sched list in the link file X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1908 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2c94cd917de72d4ea82ea40b95b1b8ccc8557282;p=xen.git build: alloc space for sched list in the link file Creates a section to contain scheduler entry pointers that are gathered together into an array. This will allow, in a follow-on patch, scheduler entries to be automatically gathered together into the array for automatic parsing. Signed-off-by: Jonathan Creekmore Reviewed-by: Andrew Cooper Reviewed-by: Doug Goldstein Reviewed-by: Konrad Rzeszutek Wilk Acked-by: Ian Campbell --- diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index 0488f3706e..f501a2fd01 100644 --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -57,6 +57,10 @@ SECTIONS . = ALIGN(PAGE_SIZE); *(.data.page_aligned) *(.data) + . = ALIGN(8); + __start_schedulers_array = .; + *(.data.schedulers) + __end_schedulers_array = .; *(.data.rel) *(.data.rel.*) CONSTRUCTORS diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index e18e08fc5a..c1ce027af0 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -80,6 +80,10 @@ SECTIONS __stop___pre_ex_table = .; *(.data.read_mostly) + . = ALIGN(8); + __start_schedulers_array = .; + *(.data.schedulers) + __end_schedulers_array = .; *(.data.rel.ro) *(.data.rel.ro.*) } :text